import { getRequest, postRequest } from '@/lib/axios';

// 动态列表
export const momentsListApi = (param) => {
    return postRequest('/mobybox/moment/latest', param)
}

// 发布动态
export const momentsPublishApi = (param) => {
    return postRequest('/mobybox/moment/publish', param)
}

// 删除动态
export const momentsDeleteApi = (param) => {
    return postRequest('/mobybox/moment/delete', param)
}

// 审核动态
export const momentsAuditApi = (param) => {
    return postRequest('/mobybox/moment/audit', param)
}

// 评论
export const momentsCommentsApi = (param) => {
    return postRequest('/mobybox/moment/comments', param)
}

// 审核评论
export const momentsCommentsAuditApi = (param) => {
    return postRequest('/mobybox/moment/comments/audit', param)
}

// 删除评论
export const momentsCommentsDeleteApi = (param) => {
    return postRequest('/mobybox/moment/comments/delete', param)
}

// 回复
export const momentsCommentsReplyApi = (param) => {
    return postRequest('/mobybox/moment/reply', param)
}

// 审核回复
export const momentsReplyAuditApi = (param) => {
    return postRequest('/mobybox/moment/reply/audit', param)
}

// 删除回复
export const momentsReplyDeleteApi = (param) => {
    return postRequest('/mobybox/moment/reply/delete', param)
}

// 点赞
export const momentsLikesApi = (param) => {
    return postRequest('/mobybox/moment/likes', param)
}
